package cn.geminis.cost.workflow.entity;

import cn.geminis.lowcode.annotation.*;
import jakarta.persistence.Column;
import lombok.Getter;
import lombok.Setter;


@Getter
@Setter
@UuidEntity
@QueryFilter
@CrudRepository
@CrudController
public class WorkflowTemplate {
    @Column(length = 36, nullable = false)
    private String name;

    @Column(length = 36, nullable = false)
    @QueryFilterProperty
    private String processKey;

    @Column(length = 36, nullable = false)
    @QueryFilterProperty
    private String taskKey;

    @Column(nullable = false)
    private String template;

}
